package org.lzfto.flink.demo.business.orders;

public class Order {
    private Integer id;
    private String eventTime;
    private double orderId;
    private double productId;
    private double categoryId;
    private String categoryCode;
    private String brand;
    private double price;
    private double userId;
    private Integer age;
    private String sex;
    private String zoneName;

    // Getters and Setters
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getEventTime() { return eventTime; }
    public void setEventTime(String eventTime) { this.eventTime = eventTime; }
    public double getOrderId() { return orderId; }
    public void setOrderId(double orderId) { this.orderId = orderId; }
    public double getProductId() { return productId; }
    public void setProductId(double productId) { this.productId = productId; }
    public double getCategoryId() { return categoryId; }
    public void setCategoryId(double categoryId) { this.categoryId = categoryId; }
    public String getCategoryCode() { return categoryCode; }
    public void setCategoryCode(String categoryCode) { this.categoryCode = categoryCode; }
    public String getBrand() { return brand; }
    public void setBrand(String brand) { this.brand = brand; }
    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }
    public double getUserId() { return userId; }
    public void setUserId(double userId) { this.userId = userId; }
    public Integer getAge() { return age; }
    public void setAge(Integer age) { this.age = age; }
    public String getSex() { return sex; }
    public void setSex(String sex) { this.sex = sex; }
    public String getZoneName() { return zoneName; }
    public void setZoneName(String zoneName) { this.zoneName = zoneName; }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", eventTime='" + eventTime + '\'' +
                ", orderId=" + orderId +
                ", productId=" + productId +
                ", categoryId=" + categoryId +
                ", categoryCode='" + categoryCode + '\'' +
                ", brand='" + brand + '\'' +
                ", price=" + price +
                ", userId=" + userId +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", zoneName='" + zoneName + '\'' +
                '}';
    }
}
